package com.imooc.sell.repository;

import com.imooc.sell.dataobject.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
/**
 * @Description 买家订单Dao层
 * @Author whf15
 * @Date 15:26 2021/10/20
 **/
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {
//    分页查找根据买家openId来查
    Page<OrderMaster> findByBuyerOpenid(String buyerOpenid, Pageable pageable);
}
